<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>
<h1>满额购活动管理 </h1>
<table width="100%">
	<tr class="tb-data">
		<th width="30%">加购商品</th>
		<td>${campaign.productId}<br/>
				${product.productName}
		</td>
	</tr>
	<tr class="tb-data">
		<th>商品金额</th>
		<td><fmt-rt:formatNumber value="${campaign.price}" pattern="￥######0.0"/></td>
	</tr>
	<tr class="tb-data">
		<th>活动起始日期时间</th>
		<td><fmt:formatDate value="${campaign.startDateTime}" pattern="yyyy-MM-dd HH:mm"/></td>
	</tr>
	<tr class="tb-data">
		<th>活动结束日期时间</th>
		<td><fmt:formatDate value="${campaign.endDateTime}" pattern="yyyy-MM-dd HH:mm"/></td>
	</tr>
	<tr class="tb-data">		
		<th>适用会员等级</th>
		<td>${menuMemberRank.options[campaign.allowMemberRank].name}</td>
	</tr>
	<tr class="tb-data">
		<th>最低订单金额</th>
		<td><fmt-rt:formatNumber value="${campaign.minOrderAmount}" pattern="￥######0.0"/></td>
	</tr>
	<tr class="tb-data">
		<th>启用</th>
		<td><c:if test="${campaign.enable}">是</c:if><c:if test="${!campaign.enable}">否</c:if></td>
	</tr>
	<tr class="tb-data">
		<th>备注</th>
		<td>${campaign.memo}</td>
	</tr>		
</table>
<p></p>

<p></p>
<div class="f-link">
	<a href="search.do">回查询页</a>
	<a href="edit.do">修改</a>
	<a href="delete.do">删除</a>
</div>